package cn.ww.teach.controller;


import org.springframework.util.StringUtils;

/**
 * Created by Wangwang on 2017/12/21.
 */
public class UserPoker {
    private static String[] pokerArr = new String[13];

    public boolean addPokerToArr() {
        return false;
    }

    private Integer getUnuseIndex() {
        if (pokerArr == null && pokerArr.length < 0) {
            return 0;
        }
        int index = 0;
        for (int i = 0; i < pokerArr.length; i++) {
            if (StringUtils.isEmpty(pokerArr[i])) {
                index = i;
                break;
            }
            continue;
        }
        return index;
    }

}
